package javaer.starter.model;

import lombok.AccessLevel;
import lombok.experimental.FieldDefaults;

/**
 * 数据库基础字段
 *
 * @author yangzhen
 * @date 2023/6/5 10:55
 * @since 1.0.0
 */
@FieldDefaults(level = AccessLevel.PRIVATE)
public abstract class BaseModel implements IModel {

    Long id;

    Long gmtCreate;

    Long gmtModified;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Long gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Long getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Long gmtModified) {
        this.gmtModified = gmtModified;
    }
}
